package top.kangyaocoding.ecommerce.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;
import top.kangyaocoding.ecommerce.po.PvHourly;

import java.util.List;

/**
 * 描述:
 *
 * @author K·Herbert
 * @since 2025-02-16 下午3:56
 */
@Mapper
public interface IPvHourlyDao {
    @Select("SELECT * FROM pv_hourly")
    @Results({
            @Result(property = "pvCount", column = "pv_count")
    })
    List<PvHourly> findAll();
}
